
import { ArrayMaxSize, ArrayMinSize, IsArray, IsInt, Min } from "class-validator";

export default class BindMerchantDto {
    @ArrayMaxSize(100)
    @ArrayMinSize(1)
    @IsArray()
    ids:number[];


    @Min(1)
    @IsInt()
    merchantId:number
}